package com.wisnews.service.sec;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.wisnews.pojo.sec.entity.Permission;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wisnews.util.MenuTreeNode;

/**
 * <p>
 * 系统权限信息 服务类
 * </p>
 *
 * @author yuyd
 * @since 2020-12-20
 */
public interface IPermissionService extends IService<Permission> {

    MenuTreeNode getMenuInfo();

    IPage getPermissionForPage(Permission req, IPage<Permission> toPage);
}
